<?php
interface IAction {
	public function execute();
	public function setData($key,$value);
	
	public function addError($fieldId, $content, $details=array());
	public function addWarning($fieldId, $content, $details=array());
	public function addInfo($fieldId, $content, $details=array());
	
	public function getData();
	public function getErrors();
	public function getWarnings();
	public function getInfos();
	public function setConfig(ActionConfig $config);
	
	/**
	 * @return ActionConfig 
	 */
	public function getConfig();


	/**
	 * [Jul. 23, 2009][Milo]
	 * 
	 */
	public function setResult($result);
	public function getResult();
}

